package marchsoft.modules.four.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import marchsoft.base.BasicModel;
import marchsoft.modules.system.entity.Dept;

import java.util.Date;

@TableName("e_safe_case")
@Data
public class SafeCase extends BasicModel<SafeCase> {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "案例标题")
    private String title;

    @ApiModelProperty(value = "案例内容")
    private String content;

    @ApiModelProperty(value = "安全分类id")
    private Long safeType;

    @ApiModelProperty(value = "案例封面图片")
    private String picPath;

    @ApiModelProperty(value = "关键词")
    private String keywords;

    @ApiModelProperty(value = "获赞量")
    private Integer tags;

    @ApiModelProperty(value = "踩踩数")
    private Integer dislike;

    @ApiModelProperty(value = "浏览量")
    private Integer pageView;

}
